package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveService extends IService<AdSensitive> {
    //新增敏感词
    ResponseResult addSensitiveWord(AdSensitive adSensitive);

    //分页查询敏感词列表
    ResponseResult findByPage(SensitiveDto dto);


    //修改敏感词
    ResponseResult update2(AdSensitive adSensitive);

    //删除敏感词
    ResponseResult delete2(Integer id);
}
